package com.ykt.exception;

/**
 * @author long.hua
 * @version 1.0.0
 * @since 2016-01-22 11:15
 */
public class SystemException extends RuntimeException{

    private int code;

    public SystemException(int code, String message) {
        super(message);
        this.code = code;
    }

    public SystemException(int code, String message, Throwable t) {
        super(message, t);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
